home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000042_icon-group-sender _Fri Feb 9 02:31:59 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  3KB

  1. Received: by cheltenham.cs.arizona.edu; Fri, 9 Feb 1996 09:17:22 MST
  2. To: icon-group@cs.arizona.edu
  3. Date: 09 Feb 1996 02:31:59 +0100
  4. From: Gerhard Brey <G.Brey@lrz.uni-muenchen.de>
  5. Message-Id: <m3hgx1jncg.fsf@ug301ab.ppp.lrz-muenchen.de>
  6. Organization: Institut fuer Geschichte der Naturwissenschafen, Munich, Germany
  7. Sender: icon-group-request@cs.arizona.edu
  8. References: <4fdi85$4b7o@yuma.ACNS.ColoState.EDU>
  9. Subject: Re: Compiling ELF binaries for Linux1.2.13
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11. Status: O
  12.  
  13. In article <4fdi85$4b7o@yuma.ACNS.ColoState.EDU> millejoh@holly.ColoState.EDU (John Miller) writes:
  14.  
  15. > Greetings all.  I'm curious if anybody has had some experience in
  16. > compiling ELF binaries of Icon for linux.  Using a.out binaries is of course
  17. > a viable solution, but I would at least like to try getting ELF working
  18. > first.  My problem is as follows:
  19. >     The gcc compiler is failing when trying to link in the object
  20. >     files for icon runtime executable (iconx).  It complains of some
  21. >     unidentified symbols in rswitch.o -- namely new_context and syserr.
  22. >     I realize these are for implementing coexpressions, a feature that
  23. >     I can disable, but again I would like to try to get it to work.
  24. >     Any suggestions people?
  25. > My setup:
  26. >     i486_linux 8MB RAM (486DX33)
  27. >     I'm using the RedHat v2.0 elf distribution with X11R6.
  28. > Many thanks in advance,
  29. > John
  30.  
  31. I had the same problems when I tried to compile iconx as ELF
  32. binary. But iconc compiled without problems and works. I would be very
  33. grateful for a solution, too.
  34. The problems occurred with the configuration for i486_linux
  35. (i386_linux didn't work either, but I don't remember why). I guess
  36. (but I am not a C- or Assembler-programmer) that the problem has to do
  37. with the Assembler code in rswitch.s.
  38.  
  39. Here is my setup:
  40.    486DX66, 16MB RAM
  41.    Slackware 3.0 ELF
  42.    gcc 2.7.0
  43.  
  44. Here are the error messages:
  45.  
  46. [...]
  47. gcc  -o iconx  xcnv.o xdata.o xdef.o xerrmsg.o xextcall.o xfconv.o
  48.    xfload.o xfmath.o xfmisc.o xfmonitr.o xfscan.o xfstr.o xfstranl.o xfstruct.o
  49.    xfsys.o xfwindow.o ximain.o ximisc.o xinit.o xinterp.o xinvoke.o
  50.    xistart.o xkeyword.o xlmisc.o xoarith.o xoasgn.o xocat.o xocomp.o
  51.    xomisc.o xoref.o xoset.o xovalue.o xralc.o xrcoexpr.o xrcomp.o
  52.    xrdebug.o xrlocal.o xrlrgint.o xrmemmgt.o xrmisc.o xrstruct.o xrsys.o
  53.    xrwinrsc.o xrgfxsys.o xrwinsys.o xrwindow.o xfxtra.o ../common/long.o
  54.    ../common/memory.o ../common/time.o ../common/save.o
  55.    ../common/rswitch.o ../common/redirerr.o ../common/xwindow.o
  56.    ../common/alloc.o -L../../bin -lXpm -lX11 -lm 
  57. bfd assertion fail /opt/release/pub/bin/binutils/bfd/elf32-i386.c:624
  58. xrcoexpr.o(.text+0x239): undefined reference to `coswitch'
  59. ../common/rswitch.o(.text+0x27): undefined reference to `_new_context'
  60. ../common/rswitch.o(.text+0x31): undefined reference to `_syserr'
  61. make[3]: *** [iconx] Error 1
  62. [...]
  63.  
  64. Gerhard
  65. -- 
  66. ............................................................................
  67. Gerhard Brey / Institut fuer Geschichte    : ug301ab@sunmail.lrz-muenchen.de
  68. der Naturwissenschaften d. Univ. Muenchen  : Tel.: +49 89 2180-3252
  69. Postfach / 80306 Muenchen / Germany        : FAX:  +49 89 2180-3162
  70.